Packages

c

com.fsf.news.service

NewsActiveSearchService

class NewsActiveSearchService extends SessionService

Service for managing active news searches within a session context.

Annotations
@Singleton() @Slf4j()
Linear Supertypes
SessionService, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NewsActiveSearchService
  2. SessionService
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected
  3. Private

Instance Constructors

  1. new NewsActiveSearchService(repository: NewsActiveSearchRepository)
    Annotations
    @Inject()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearSession(sessionId: Optional[String]): CompletionStage[Void]

    Clears all active searches for a specific session.

    Clears all active searches for a specific session.

    sessionId

    The session ID

    returns

    A CompletionStage of the clearing operation

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def getActiveSearch(form: NewsForm, sessionId: Optional[String]): CompletionStage[Optional[ActiveSearch]]

    Retrieves a specific active search by form for a given session.

    Retrieves a specific active search by form for a given session.

    form

    The news form associated with the active search

    sessionId

    The session ID

    returns

    A CompletionStage of an optional active search

  10. def getActiveSearches(sessionId: Optional[String]): CompletionStage[List[ActiveSearch]]

    Retrieves all active searches for a given session.

    Retrieves all active searches for a given session.

    sessionId

    The session ID

    returns

    A CompletionStage of active searches

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. def performSessionOperation[T](sessionId: Optional[String], operation: Function[String, CompletionStage[T]]): CompletionStage[T]

    Performs an operation that requires a valid session ID.

    Performs an operation that requires a valid session ID.

    sessionId

    The session ID

    operation

    The operation to perform

    returns

    Completion stage containing the result of the operation

    Attributes
    protected[service]
    Definition Classes
    SessionService
  18. def registerSearch(form: NewsForm, sessionId: Optional[String]): CompletionStage[ActiveSearch]

    Registers a new active search to the repository for a given session.

    Registers a new active search to the repository for a given session.

    form

    The news form to register as an active search

    sessionId

    The session ID

    returns

    A CompletionStage of the registered active search

  19. def removeActiveSearch(form: NewsForm, sessionId: Optional[String]): CompletionStage[Void]

    Removes a specific active search from a session.

    Removes a specific active search from a session.

    form

    The news form associated with the active search to remove

    sessionId

    The session ID

    returns

    A CompletionStage of the removal operation

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def updateLatestResult(form: NewsForm, searchResultUuid: UUID, sessionId: Optional[String]): CompletionStage[ActiveSearch]

    Updates the latest search result for an existing active search.

    Updates the latest search result for an existing active search.

    form

    The news form associated with the active search

    searchResultUuid

    The latest search result UUID

    sessionId

    The session ID

    returns

    A CompletionStage of the updated active search

  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from SessionService

Inherited from AnyRef

Inherited from Any

Ungrouped